Generalized Boxings, Congruences and Partial Inlining
نویسنده
چکیده
We present a new technique for optimizing programs, based on data-ow analysis. The initial goal was to provide a simple way to improve on Leroy and Peyton-Jones' techniques for optimizing boxings (allocations) and unboxings ((eld selection) away in strongly-typed functional programs. Our techniques achieve this goal, while not needing types any more (so it applies to Lisp as well as to ML), and providing a ner analysis; moreover, our techniques also improve on classical common subexpression elimination. The methods are twofold: intraprocedurally, we use a data-ow analysis technique that propagates congruences on program variables and terms built on these variables; interprocedurally, we help the intraprocedural analysis by inlining, at least partially, all functions whose deenitions are known at call sites.
منابع مشابه
Fuzzy order congruences on fuzzy posets
Fuzzy order congruences play an important role in studying the categoricalproperties of fuzzy posets. In this paper, the correspondence between the fuzzyorder congruences and the fuzzy order-preserving maps is discussed. We focus onthe characterization of fuzzy order congruences on the fuzzy poset in terms ofthe fuzzy preorders containing the fuzzy partial order. At last, fuzzy completecongruen...
متن کاملThe p-adic Generalized Twisted (h, q)-Euler-l-Function and Its Applications
Abstract : The main purpose of this paper is to construct the p-adic twisted (h, q)-Euler-lfunction, which interpolates generalized twisted (h, q)-Euler numbers associated with a primitive Dirichlet character χ. This is a partial answer for the open question which was remained in [13]. An application of this function leads general congruences systems for generalized twisted (h, q)Euler numbers ...
متن کاملBinomial Coefficient–harmonic Sum Identities Associated to Supercongruences
We establish two binomial coefficient–generalized harmonic sum identities using the partial fraction decomposition method. These identities are a key ingredient in the proofs of numerous supercongruences. In particular, in other works of the author, they are used to establish modulo p (k > 1) congruences between truncated generalized hypergeometric series, and a function which extends Greene’s ...
متن کاملInlining as staged computation
Inlining and specialization appear in various forms throughout the implementation of modern programming languages. From mere compiler optimizations to sophisticated techniques in partial evaluation, they are omnipresent, yet each application is treated differently. This paper is an attempt at uncovering the relations between inlining (as done in production compilers) and staged computation (as ...
متن کاملEvaluation of a Region-based Partial Inlining Algorithm for an ILP Optimizing Compiler
An ILP optimizing compiler using a region-based approach restructures a program to better reflect dynamic behavior and increase interprocedural optimization and scheduling opportunities. Regions provide the compiler with better control of the unit of compilation than traditional procedure-based compilers. In this paper, we evaluate an algorithm that incorporates partial inlining into a regionba...
متن کامل